import { AntdModalProps } from "@web-design/ui/es/useAntdModal"
import { Form, Input, Modal, Select } from "antd"
import React from "react"
const SaveAuth = ({form, modalProps }: AntdModalProps) => {
    return <Modal title='编辑' width={800} {...modalProps} open >
        <Form form={form} labelCol={{ span: 4 }} >
            <Form.Item label='授权名称' name='name'>
                <Input />
            </Form.Item>
            <Form.Item label='授权类型' name='authType'>
                <Select options={[{
                    label:'API KEY',
                    value:'API_KEY'
                },{
                    label:'API KEY',
                    value:'API_KEY'
                }]} />
            </Form.Item>
           <Form.Item label="API KEY">
            <Input.TextArea/>
           </Form.Item>
        </Form>
    </Modal>
}
export default SaveAuth